package com.xiaodeng.xdblogspringboot.exception;

import lombok.Data;

@Data
public class UnauthorizedException extends RuntimeException{
    private Integer code;//业务状态码  200-成功  500-失败
    private String message;//提示信息
    private Object data;//响应数据
    public UnauthorizedException(String message) {
        super(message);
    }
}
